#pragma once
#include<iostream>
#include"worker.h"
#include<fstream>
#define FILENAME "EmpFile.txt"

class WorkerManager
{
public:
	WorkerManager();
	void ShowMenu();
	void ExitSystem();
	int m_EmpNum;
	int NewSpace;
	int Get_EmpNum();
	int IsExist(int id);
	Worker** m_EmpArray;
	void Add_Emp();
	void Save();
	void Init_Emp();
	void Show_Emp();
	void Del_Emp();
	void Mod_Emp();
	void Find_Emp();
	void Sort_Emp();
	void CleanFile();
	bool m_FileIsEmpty;
	~WorkerManager();
};